export default {
    // arrlen: (state) => {
    //     return state.tearr.length
    // },
    // userinfo: (state) => {
    //     return state.userinfo
    // },
    // tokenval: (state) => {
    //     return state.userinfo.token
    // },
    hobby: (state) => {
        return state.userinfo.hobby
    },
    basic: (state) => {
        return state.userinfo.basic
    },
    showprogress: (state) => {
        return state.showprogress
    },
    swiperlist: (state) => {
        return state.swiperlist
    },
    swiperlists: (state) => {
        return state.swiperlists
    },
    facilities: (state) => {
        return state.facilities
    },
    facils: (state) => {
        return state.facils
    },
    selectHository: (state) => {
        return state.selectHository
    },
    consumables: (state) => {
        let s = state.roomdata.consumables
        return s
            // if(s.length==0){
            //     return s
            // }else{
            //     s.map((v,i)=>{
            //         v.num=0

        //     })
        //     return s
        // }
        // // s.map((v,i)=>{
        // //     v.num=0
        // // })

    }
}